﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Theta.Components;

namespace SFML_Testbed
{
    public class WriteTextComponent : BaseComponent
    {
        public void WriteText(string t)
        {
            Console.WriteLine(t);
        }

        public override void Update(TimeSpan elapsedTime)
        {
            WriteText(elapsedTime.Milliseconds.ToString());
        }
    }
}
